package com.jy.web.diy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jy.web.diy.entity.BaseInfoEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 基础表
 * 
 * @author JuiceYan
 * @email JuiceYan@jy.com
 * @date 2018-12-22 20:55:46
 */
public interface BaseInfoDao extends BaseMapper<BaseInfoEntity> {

    /**
     * 获取保留字段名列表
     *
     * @return
     */
    List<String> getReservedAttributeNames();

    /**
     *
     * @param page
     * @param request
     * @return
     */
    IPage<Map<String, Object>> selectValuesMapPage(@Param("page") Page page, @Param("request") Map<String, Object> request);

    List<Map<String,Object>> selectValuesMapPage(@Param("request") Map<String, Object> request);}
